package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 账户详情对象 account_detailss
 * 
 * @author he
 * @date 2025-10-20
 */
public class AccountDetailss extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /**  租户ID */
    private Long tenantId;

    /**  创建id */
    private Long createUserId;

    /**  创建机构id */
    private Long createOrgId;

    /**  创建用户名 */
    private String createUserName;

    /**  修改用户ID */
    private Long updateUserId;

    /**  修改用户名 */
    private String updateUserName;

    /**  是否删除 */
    private Long isDelete;

    /**  机构ID */
    private Long orgId;

    /** 创建机构名 */
    private String createOrgName;

    /**  账户ID */
    private Long amountId;

    /**  账户名 */
    @Excel(name = " 账户名")
    private String amountName;

    /**  账户详情ID */
    private Long fundItemId;

    /**  账户详情名 */
    private String fundItemName;

    /**  交易单号 */
    @Excel(name = " 交易单号")
    private String transactionNumber;

    /**  交易金额 */
    @Excel(name = " 交易金额")
    private BigDecimal transactionAmount;
    private BigDecimal transactionAmountBefore;

    /** 交易类型 */
    @Excel(name = "交易类型")
    private String transactionType;

    /** 款项类型 */
    @Excel(name = "款项类型")
    private String settlementType;

    /** 余额 */
    @Excel(name = "余额")
    private BigDecimal residueAmount;

    /** 机构名称 */
    private String orgName;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 启用状态 */
    private Long checkState;

    /** 账户code */
    private String accountCode;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTenantId(Long tenantId) 
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }

    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }

    public void setCreateOrgId(Long createOrgId) 
    {
        this.createOrgId = createOrgId;
    }

    public Long getCreateOrgId() 
    {
        return createOrgId;
    }

    public void setCreateUserName(String createUserName) 
    {
        this.createUserName = createUserName;
    }

    public String getCreateUserName() 
    {
        return createUserName;
    }

    public void setUpdateUserId(Long updateUserId) 
    {
        this.updateUserId = updateUserId;
    }

    public Long getUpdateUserId() 
    {
        return updateUserId;
    }

    public void setUpdateUserName(String updateUserName) 
    {
        this.updateUserName = updateUserName;
    }

    public String getUpdateUserName() 
    {
        return updateUserName;
    }

    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }

    public void setCreateOrgName(String createOrgName) 
    {
        this.createOrgName = createOrgName;
    }

    public String getCreateOrgName() 
    {
        return createOrgName;
    }

    public void setAmountId(Long amountId) 
    {
        this.amountId = amountId;
    }

    public Long getAmountId() 
    {
        return amountId;
    }

    public void setAmountName(String amountName) 
    {
        this.amountName = amountName;
    }

    public String getAmountName() 
    {
        return amountName;
    }

    public void setFundItemId(Long fundItemId) 
    {
        this.fundItemId = fundItemId;
    }

    public Long getFundItemId() 
    {
        return fundItemId;
    }

    public void setFundItemName(String fundItemName) 
    {
        this.fundItemName = fundItemName;
    }

    public String getFundItemName() 
    {
        return fundItemName;
    }

    public void setTransactionNumber(String transactionNumber) 
    {
        this.transactionNumber = transactionNumber;
    }

    public String getTransactionNumber() 
    {
        return transactionNumber;
    }

    public void setTransactionAmount(BigDecimal transactionAmount) 
    {
        this.transactionAmount = transactionAmount;
    }

    public BigDecimal getTransactionAmount() 
    {
        return transactionAmount;
    }

    public void setTransactionType(String transactionType) 
    {
        this.transactionType = transactionType;
    }

    public String getTransactionType() 
    {
        return transactionType;
    }

    public void setSettlementType(String settlementType) 
    {
        this.settlementType = settlementType;
    }

    public String getSettlementType() 
    {
        return settlementType;
    }

    public void setResidueAmount(BigDecimal residueAmount) 
    {
        this.residueAmount = residueAmount;
    }

    public BigDecimal getResidueAmount() 
    {
        return residueAmount;
    }

    public void setOrgName(String orgName) 
    {
        this.orgName = orgName;
    }

    public String getOrgName() 
    {
        return orgName;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    public void setCheckState(Long checkState) 
    {
        this.checkState = checkState;
    }

    public Long getCheckState() 
    {
        return checkState;
    }

    public void setAccountCode(String accountCode) 
    {
        this.accountCode = accountCode;
    }

    public String getAccountCode() 
    {
        return accountCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tenantId", getTenantId())
            .append("updateTime", getUpdateTime())
            .append("createUserId", getCreateUserId())
            .append("createOrgId", getCreateOrgId())
            .append("createUserName", getCreateUserName())
            .append("updateUserId", getUpdateUserId())
            .append("updateUserName", getUpdateUserName())
            .append("isDelete", getIsDelete())
            .append("orgId", getOrgId())
            .append("createOrgName", getCreateOrgName())
            .append("amountId", getAmountId())
            .append("amountName", getAmountName())
            .append("fundItemId", getFundItemId())
            .append("fundItemName", getFundItemName())
            .append("transactionNumber", getTransactionNumber())
            .append("transactionAmount", getTransactionAmount())
            .append("transactionType", getTransactionType())
            .append("settlementType", getSettlementType())
            .append("residueAmount", getResidueAmount())
            .append("orgName", getOrgName())
            .append("remarks", getRemarks())
            .append("createTime", getCreateTime())
            .append("checkState", getCheckState())
            .append("accountCode", getAccountCode())
            .toString();
    }

    public BigDecimal getTransactionAmountBefore() {
        return transactionAmountBefore;
    }

    public void setTransactionAmountBefore(BigDecimal transactionAmountBefore) {
        this.transactionAmountBefore = transactionAmountBefore;
    }
}
